package logic.service;

import java.util.List;
import javax.persistence.EntityManager;
import vo.IValueObject;

/**
 *
 * @author Alexander
 */
public interface IService {

    void persist(vo.IValueObject vo, EntityManager em);

    IValueObject find(Object id, EntityManager em);

    void update(vo.IValueObject vo, EntityManager em);

    void delete(Object id, EntityManager em);

    List<IValueObject> getList(EntityManager em);
}
